
#include <iostream>
#include <fstream>
#include <string>

struct StuInfo
{
    std::string name;
    double math;
    double english;
    double total;
};


int InputInfo(StuInfo &stu);

// save file
bool SaveInfo(const char * filename, const StuInfo info[], int lengt);

// show
void ShowInfo(const StuInfo& stu, const Subject subject);
